package com.zbkj.common.request;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.util.Date;

//商户收支明细搜索请求对象
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value = "MerchantIncomeExpenditureRequest", description = "商户收支明细搜索请求对象")
public class MerchantIncomeExpenditureRequest implements Serializable {

    private static final long serialVersionUID = 3362714265772774491L;

    @ApiModelProperty(value = "商户id", required = true)
    @NotNull(message = "商户id不能为空")
    private Integer merId;

    @ApiModelProperty(value = "类型  00-收入  10-提现", required = true)
    @NotEmpty(message = "类型不能为空")
    private String type;

    @ApiModelProperty(value = "明细状态")
    private String status;

    @ApiModelProperty(value = "开始时间")
    private Date createTime;

    @ApiModelProperty(value = "结束时间")
    private Date endTime;

}
